package com.bootdo.system.service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.domain.TbStock;
import com.bootdo.system.domain.TbSvip;

public interface ProductService {
	
	List<Map<String,Object>> list(Map<String, Object> map);
	
	List<TbSvip> getSvipList();
	
	int count(Map<String, Object> map);
	int insert2update(TbSvip table);
	
	int insert2updateSto(TbStock table);

	TbSvip getById(Integer id);
	
	TbSvip getByStoId(Integer id);
	
	TbStock getByStoId2(Integer id);

	int batchremove(Integer[] ids);

	int remove(Integer id);
	
	int removeSto(Integer id);
	
	int batchremoveSto(Integer[] ids);

}
